package net.wxxr.http.request;


import net.wxxr.http.engine.HttpPostEngine;

/**
 * 以Post方式图片请求对象
 * @author yuanwenfei
 *
 */
public class HttpPostImageRequest extends HttpPostRequest {
	public enum CornerType {
		CORNER_NORMAL(1), CORNER_ROUND(2);

		CornerType(int ni) {
			this.nativeInt = ni;
		}

		final int nativeInt;
	}
	/**
	 * 当数量过多时自动移除任务
	 */
	private boolean autoRemove;
	
	/**
	 * 图片保存路径
	 * @return
	 */
	private String imagePath;

	public String getImagePath() {
		return imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	

	public boolean isAutoRemove() {
		return autoRemove;
	}

	public void setAutoRemove(boolean autoRemove) {
		this.autoRemove = autoRemove;
	}
	
	@Override
	public void setUrl(String url) {
		// Auto-generated method stub
		super.setUrl(url);
	}
	@Override
	protected void initHttpEngine() {
		// TODO Auto-generated method stub
		httpEngine = new HttpPostEngine(this);
	}

}
